package org.fightingliu.demo.handler;

import lombok.extern.slf4j.Slf4j;
import org.springframework.data.redis.connection.Message;
import org.springframework.stereotype.Component;

/**
 * @author : LiuChao
 * @description : TODO
 * @date : 2025-04-16 23:10:39
 */
@Slf4j
@Component
public class Test1RedisMessageHandler implements RedisMessageHandler{
    @Override
    public String getTopic() {
        return "test1";
    }

    @Override
    public void handle(Message message) {
        log.info("Test1RedisMessageHandler : {}",message.toString());
    }
}
